

layui.define('form', function (exports) {
    var $ = layui.$
        , admin = layui.admin

    // 加载客户信息
    admin.req({
        url: layui.setter.ctx + '/system/sysUser/getLoginInfo'
        , type: 'get'
        , done: function (res) {
            $('#nickName').text(res.data.nickName);
        }
    });
});